/**
 * CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

package com.cmcc.zysoft.infocollection.controller;

import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.cmcc.zysoft.infocollection.common.BaseController;
import com.cmcc.zysoft.infocollection.service.AreasPcService;

/**
 * @author 袁凤建
 * <br />邮箱: yuan.fengjian@ustcinfo.com
 * <br />描述: AreasController.java
 * <br />版本: 1.0.0
 * <br />日期: 2013-9-2 下午2:33:01
 * <br />CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

@Controller
@RequestMapping("/pc/areas")
public class AreasController extends BaseController {

	/**
	 * 属性名称: areasPcService.
	 * 类       型: AreasPcService.
	 */
	@Resource
	private AreasPcService areasPcService;
	
	/**
	 * 根据城市ID查找区县信息.
	 * @param cityId 城市ID
	 * @return List<Map<String, Object>>
	 */
	@RequestMapping("/getAreas.htm")
	@ResponseBody
	public List<Map<String, Object>> areas(String cityId) {
		return this.areasPcService.areas(cityId);
	}
}